<nz-content class="content">
  <nz-tabset (nzSelectedIndexChange)="onTabChange($event)">
    <nz-tab *ngFor="let item of tab_list" [nzTitle]="item"></nz-tab>
  </nz-tabset>
  <div>
    <sda-category-form [category]="current_category"></sda-category-form>
  </div>
</nz-content>



------以下是测试内容------
<nz-layout>
    
    <nz-content>
        <form nz-form>
            <p>Value: {{name.value}}</p>
            <p>Form Status: {{profileForm2.status}}</p>
            <input type="text" [formControl]="name">

            <button (click)="updateName()">update name</button>
            <nz-form-item>
              <nz-form-label [nzSpan]="6" nzFor="email">E-mail</nz-form-label>
              <nz-form-control [nzSpan]="14">
              </nz-form-control>
            </nz-form-item >
        </form>

        <form nz-form [formGroup]="profileForm2" (ngSubmit)="onSubmit()">
            <nz-form-item>
                <nz-form-label [nzSpan]="6" >firstName</nz-form-label>
                <nz-form-control>
                    <input type="text" formControlName="firstName" required>
                </nz-form-control>
            </nz-form-item>
            <nz-form-item>
                <nz-form-label [nzSpan]="6" >lastName</nz-form-label>
                <nz-form-control>
                    <input type="text" formControlName="lastName">
                </nz-form-control>
            </nz-form-item>
            <nz-form-item formGroupName="address">
                <p>Address</p>
                <nz-form-control>
                    <input type="text" formControlName="street">
                    <input type="text" formControlName="city">
                </nz-form-control>
            </nz-form-item>
            <button type="submit" [disabled]="!profileForm2.valid">Submit</button>
            
            <button (click)="updateProfile()">update profile</button>
        </form>
    </nz-content>
    
  </nz-layout>

  <!-- 纯angular 模板 -->
  <p>纯angular 模板</p>
  <div class="container">
    <h1>Hero Form</h1>
    <select class="form-control" id="power" required>
      <option *ngFor="let pow of powers" [value]="pow">{{pow}}</option>
    </select>
    <form>
      <div class="form-group">
        <label for="name">Name</label>
        <input type="text" class="form-control" id="name" required>
      </div>

      <div class="form-group">
        <label for="alterEgo">Alter Ego</label>
        <input type="text" class="form-control" id="alterEgo">
      </div>

      <button type="submit" class="btn btn-success">Submit</button>

    </form>
</div>

